
      <section id="content">
        	
                <?php //print_r($slider_box) ?>
        	<div id="full-width-slider" class="royalSlider rsMinW">
 <?php
                        if(is_array($slider_box) && count($slider_box))
                        {
                            foreach($slider_box as $data){?>
                             <img src="<?=INTERF.$data['file']?>">
                            <?php
                               //print_r($slider_box); 
                               $imageslist = json_decode($data['images']);
                               $speed=json_decode($data['speed']);
                               $move=json_decode($data['move_effect']);
                               $offet=json_decode($data['move_offset']);
                               $fade=json_decode($data['fade_effect']);
                               if(!empty($imageslist)){
                                $i=0;
                                    foreach($imageslist as $img)
                                    {
                                        //print_r($img);
                                        ?>
                                         <div class="phantu pos_ab maxminimg zindex_1" data-fade-effect="<?php echo $fade[$i]?>" data-move-offset="<?php echo $offet[$i]?>" data-move-effect="<?php echo $move[$i] ?>" data-speed="<?php echo $speed[$i]?>" data-easing="easeOutBack">
                                         <img src="<?=INTERF.$img?>"/>
                                         </div>
                                        
                                        <?php
                                        $i++;
                                    }
                               }
                               
                            }
                        }
                     ?>
</div>
        

        
            

        	<div class="xlg-margin">

            </div><!-- Space -->
        	<div class="container">
                <div class="row">
                    <div class="col-md-12">
                        <div class="row home-banners">
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <a href="#"><img src="resources/images/middle-banner-1.jpg" alt="Home Big Banner 1" class="img-responsive"></a>
                            </div><!-- End .col-md-4 -->
                            
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <a href="#"><img src="resources/images/middle-banner-2.jpg" alt="Home Big Banner 2" class="img-responsive"></a>
                            </div><!-- End .col-md-4 -->

                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <a href="#"><img src="resources/images/middle-banner-3.jpg" alt="Home Big Banner 2" class="img-responsive"></a>
                            </div><!-- End .col-md-4 -->
                        </div><!-- End .home-banners -->

                        <div class="md-margin2x">
                             <div id="inner-header">
                                <div class="search_d ">
                                    <input class="fl" type="text" placeholder="Tìm kiếm sản phẩm">
                                    <button type="submit" id="quick-search" class="btn btn-custom button_search_d fr"></button>
                                   
                                    <div class="clr_fix"></div>
                                </div>
                            </div>
                        </div><!-- Space -->
                        <div class="row">
                            
                            <div class="col-md-12 col-sm-12 col-xs-12 main-content">
                                <div class="hot-items carousel-wrapper">
                                    <header class="content-title">
                                        <div class="title-bg">
                                            <h2 class="title">Giảm giá</h2>
                                        </div><!-- End .title-bg -->
                                        <p class="title-desc">Chỉ với chúng tôi, bạn có thể có được một mô hình mới với giá ưu đãi.</p>
                                    </header>

                                <div class="carousel-controls">
                                    <div id="hot-items-slider-prev" class="carousel-btn carousel-btn-prev">
                                    </div><!-- End .carousel-prev -->
                                    <div id="hot-items-slider-next" class="carousel-btn carousel-btn-next carousel-space">
                                    </div><!-- End .carousel-next -->
                                </div><!-- End .carousel-controls -->
                                <div class="hot-items-slider owl-carousel">
                                        <?php foreach($list_hot as $hot)
                                            {
                                                $this->load->view('product/oneitem',$hot);
                                            }
                                            ?>
                                               
                                </div><!--hot-items-slider -->
                                <div class="lg-margin"></div><!-- Space -->
                                </div><!-- End .hot-items -->
                                <div class="latest-items carousel-wrapper">
                                    <header class="content-title">
                                        <div class="title-bg">
                                            <h2 class="title">Sản phẩm HOT</h2>
                                            
                                        </div><!-- End .title-bg -->
                                        <p class="title-desc">Chỉ với chúng tôi, bạn có thể có được một mô hình mới với giá ưu đãi.</p>
                                    </header>
                                    <div class="sanpham_d">
                                       <pre>
                                            <?php var_dump($list_hot) ?></pre>
                                            <?php foreach($list_hot as $hot)
                                            {
                                                $this->load->view('product/oneitem',$hot);
                                            }
                                            ?>
                                               
                                        
                                        

                                        <div class="clr_fix"></div>
                                    </div>
                                
                                </div><!-- End .latest-items -->
                                <div class="md-margin2x"></div><!-- Space -->
                               
                                <div class="md-margin2x"></div><!-- Space -->
                                
                                
                            </div><!-- End .col-md-12 -->
                            
                        </div><!-- End .row -->
                        
                       
                        
                    </div><!-- End .col-md-12 -->
                </div><!-- End .row -->
                <div class="pagination-container clear-border clearfix">
                            
                    <div class="pull-right">
                        <ul class="pagination">
                        <li class="active"><a href="#">1</a></li>
                        <li><a href="#">2</a></li>
                        <li><a href="#">3</a></li>
                        <li><a href="#">4</a></li>
                        <li><a href="#">5</a></li>
                        <li><a href="#"><i class="fa fa-angle-right"></i></a></li>
                        </ul>
                    </div><!-- End .pull-right -->
                </div>
            </div><!-- End .container -->
        
        </section><!-- End #content -->